Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Supernova / Radiate / Martin - QBikal - Surface Turbulence IIyyyy hakanh mash-up k (flexi well)5.milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=2
4PSVERSION_COMP=3
5[preset00]
6fRating=5.000000
7fGammaAdj=1.980
8fDecay=0.500
9fVideoEchoZoom=1.000
10fVideoEchoAlpha=0.500
11nVideoEchoOrientation=3
12nWaveMode=4
13bAdditiveWaves=1
14bWaveDots=0
15bWaveThick=1
16bModWaveAlphaByVolume=1
17bMaximizeWaveColor=0
18bTexWrap=1
19bDarkenCenter=0
20bRedBlueStereo=0
21bBrighten=0
22bDarken=1
23bSolarize=0
24bInvert=0
25fWaveAlpha=0.001
26fWaveScale=0.527
27fWaveSmoothing=0.450
28fWaveParam=0.000
29fModWaveAlphaStart=0.000
30fModWaveAlphaEnd=1.320
31fWarpAnimSpeed=1.459
32fWarpScale=2.007
33fZoomExponent=1.00000
34fShader=0.000
35zoom=0.99990
36rot=0.00000
37cx=0.500
38cy=0.500
39dx=0.00000
40dy=0.00000
41warp=0.01000
42sx=0.99990
43sy=1.00000
44wave_r=0.800
45wave_g=0.490
46wave_b=1.000
47wave_x=0.500
48wave_y=0.500
49ob_size=0.015
50ob_r=0.000
51ob_g=0.000
52ob_b=0.000
53ob_a=1.000
54ib_size=0.260
55ib_r=0.250
56ib_g=0.250
57ib_b=0.250
58ib_a=0.000
59nMotionVectorsX=64.000
60nMotionVectorsY=48.000
61mv_dx=0.000
62mv_dy=0.000
63mv_l=1.850
64mv_r=0.500
65mv_g=0.500
66mv_b=0.500
67mv_a=0.000
68b1n=0.000
69b2n=0.000
70b3n=0.000
71b1x=1.000
72b2x=0.300
73b3x=1.000
74b1ed=0.000
75wavecode_0_enabled=1
76wavecode_0_samples=506
77wavecode_0_sep=116
78wavecode_0_bSpectrum=1
79wavecode_0_bUseDots=0
80wavecode_0_bDrawThick=1
81wavecode_0_bAdditive=0
82wavecode_0_scaling=1.07408
83wavecode_0_smoothing=0.00000
84wavecode_0_r=1.000
85wavecode_0_g=1.000
86wavecode_0_b=1.000
87wavecode_0_a=0.700
88wave_0_per_point1=
89wave_0_per_point2=n = int((reg00+.5)*sample);
90wave_0_per_point3=
91wave_0_per_point4=m = 30001+n/(reg00/reg01);
92wave_0_per_point5=gmegabuf(m) = (value1+value2);
93wave_0_per_point6=
94wave_0_per_point7=x = gmegabuf(10000+n);
95wave_0_per_point8=y = gmegabuf(15000+n);
96wave_0_per_point9=a = gmegabuf(20000+n);
97wave_0_per_point10=
98wave_0_per_point11=b = min(max(gmegabuf(25000+n),0),1);
99wave_0_per_point12=r = 1-b;
100wave_0_per_point13=g = 0.5;
101wavecode_1_enabled=1
102wavecode_1_samples=506
103wavecode_1_sep=0
104wavecode_1_bSpectrum=0
105wavecode_1_bUseDots=0
106wavecode_1_bDrawThick=1
107wavecode_1_bAdditive=0
108wavecode_1_scaling=0.89152
109wavecode_1_smoothing=0.82000
110wavecode_1_r=1.000
111wavecode_1_g=1.000
112wavecode_1_b=1.000
113wavecode_1_a=1.000
114wave_1_per_point1=n = int((reg00+.5)*sample) +reg00;
115wave_1_per_point2=
116wave_1_per_point3=x = gmegabuf(10000+n);
117wave_1_per_point4=y = gmegabuf(15000+n);
118wave_1_per_point5=a = gmegabuf(20000+n);
119wave_1_per_point6=
120wave_1_per_point7=b = min(max(gmegabuf(25000+n),0),1);
121wave_1_per_point8=r = 1-b;
122wave_1_per_point9=g = 0.5;
123wave_1_per_point10=
124wavecode_2_enabled=1
125wavecode_2_samples=506
126wavecode_2_sep=0
127wavecode_2_bSpectrum=0
128wavecode_2_bUseDots=0
129wavecode_2_bDrawThick=1
130wavecode_2_bAdditive=0
131wavecode_2_scaling=0.89152
132wavecode_2_smoothing=0.82000
133wavecode_2_r=1.000
134wavecode_2_g=1.000
135wavecode_2_b=1.000
136wavecode_2_a=1.000
137wave_2_per_point1=n = int((reg00+.5)*sample)+2*reg00;
138wave_2_per_point2=
139wave_2_per_point3=
140wave_2_per_point4=x = gmegabuf(10000+n);
141wave_2_per_point5=y = gmegabuf(15000+n);
142wave_2_per_point6=a = gmegabuf(20000+n);
143wave_2_per_point7=
144wave_2_per_point8=b = min(max(gmegabuf(25000+n),0),1);
145wave_2_per_point9=r = 1-b;
146wave_2_per_point10=g = 0.5;
147wave_2_per_point11=
148wavecode_3_enabled=1
149wavecode_3_samples=506
150wavecode_3_sep=0
151wavecode_3_bSpectrum=1
152wavecode_3_bUseDots=0
153wavecode_3_bDrawThick=1
154wavecode_3_bAdditive=0
155wavecode_3_scaling=1.00000
156wavecode_3_smoothing=0.50000
157wavecode_3_r=1.000
158wavecode_3_g=1.000
159wavecode_3_b=1.000
160wavecode_3_a=1.000
161wave_3_per_point1=n = int((reg00-.5)*sample)+3*reg00;
162wave_3_per_point2=
163wave_3_per_point3=
164wave_3_per_point4=x = gmegabuf(10000+n);
165wave_3_per_point5=y = gmegabuf(15000+n);
166wave_3_per_point6=a = gmegabuf(20000+n);
167wave_3_per_point7=
168wave_3_per_point8=b = min(max(gmegabuf(25000+n),0),1);
169wave_3_per_point9=r = 1-b;
170wave_3_per_point10=g = 0.5;
171shapecode_0_enabled=0
172shapecode_0_sides=4
173shapecode_0_additive=1
174shapecode_0_thickOutline=0
175shapecode_0_textured=1
176shapecode_0_num_inst=1
177shapecode_0_x=0.500
178shapecode_0_y=0.500
179shapecode_0_rad=2.37185
180shapecode_0_ang=0.00000
181shapecode_0_tex_ang=1.57080
182shapecode_0_tex_zoom=0.93101
183shapecode_0_r=0.000
184shapecode_0_g=1.000
185shapecode_0_b=1.000
186shapecode_0_a=0.400
187shapecode_0_r2=0.000
188shapecode_0_g2=1.000
189shapecode_0_b2=0.000
190shapecode_0_a2=0.000
191shapecode_0_border_r=1.000
192shapecode_0_border_g=1.000
193shapecode_0_border_b=0.000
194shapecode_0_border_a=0.000
195shapecode_1_enabled=0
196shapecode_1_sides=12
197shapecode_1_additive=1
198shapecode_1_thickOutline=0
199shapecode_1_textured=1
200shapecode_1_num_inst=1
201shapecode_1_x=0.300
202shapecode_1_y=0.800
203shapecode_1_rad=1.06345
204shapecode_1_ang=0.00000
205shapecode_1_tex_ang=1.63363
206shapecode_1_tex_zoom=0.46617
207shapecode_1_r=1.000
208shapecode_1_g=1.000
209shapecode_1_b=0.000
210shapecode_1_a=1.000
211shapecode_1_r2=0.000
212shapecode_1_g2=0.000
213shapecode_1_b2=0.000
214shapecode_1_a2=1.000
215shapecode_1_border_r=1.000
216shapecode_1_border_g=0.000
217shapecode_1_border_b=0.000
218shapecode_1_border_a=0.000
219shapecode_2_enabled=0
220shapecode_2_sides=13
221shapecode_2_additive=1
222shapecode_2_thickOutline=0
223shapecode_2_textured=0
224shapecode_2_num_inst=5
225shapecode_2_x=0.650
226shapecode_2_y=0.380
227shapecode_2_rad=0.57049
228shapecode_2_ang=0.00000
229shapecode_2_tex_ang=0.00000
230shapecode_2_tex_zoom=0.73678
231shapecode_2_r=1.000
232shapecode_2_g=0.000
233shapecode_2_b=0.000
234shapecode_2_a=0.700
235shapecode_2_r2=0.000
236shapecode_2_g2=0.000
237shapecode_2_b2=0.000
238shapecode_2_a2=0.000
239shapecode_2_border_r=0.500
240shapecode_2_border_g=0.500
241shapecode_2_border_b=0.000
242shapecode_2_border_a=0.000
243shapecode_3_enabled=0
244shapecode_3_sides=14
245shapecode_3_additive=1
246shapecode_3_thickOutline=1
247shapecode_3_textured=1
248shapecode_3_num_inst=1
249shapecode_3_x=0.600
250shapecode_3_y=0.550
251shapecode_3_rad=0.97237
252shapecode_3_ang=1.25664
253shapecode_3_tex_ang=0.00000
254shapecode_3_tex_zoom=0.34933
255shapecode_3_r=1.000
256shapecode_3_g=0.600
257shapecode_3_b=0.000
258shapecode_3_a=1.000
259shapecode_3_r2=0.000
260shapecode_3_g2=0.000
261shapecode_3_b2=1.000
262shapecode_3_a2=0.000
263shapecode_3_border_r=0.200
264shapecode_3_border_g=0.700
265shapecode_3_border_b=0.500
266shapecode_3_border_a=0.000
267per_frame_init_1=index = 0;
268per_frame_init_2=loop (70000,
269per_frame_init_3= megabuf(index) = 0;
270per_frame_init_4= gmegabuf(index) = 0;
271per_frame_init_5= index = index + 1;
272per_frame_init_6=);
273per_frame_init_7=
274per_frame_init_8=zang = 1;
275per_frame_init_9=
276per_frame_init_10=yang = 0;
277per_frame_init_11=zang = 2;
278per_frame_1=xlen = 45; ylen = 45; flen = 20; reg00 = xlen*ylen/4; reg01=reg00/4;
279per_frame_2=dec_med = 1-0.06*30/fps; dec_slow = 1-0.02*30/fps; dec_f = pow (0.8, 30/fps);
280per_frame_3=q30 = dec_slow;
281per_frame_4=smooth = max(1,pow(6,fps/30)-2); // >= 0; Ausbreitungsgeschwindigkeit
282per_frame_5=
283per_frame_6=//"Classic" beat reaction
284per_frame_7=cbeat = bass+mid+treb;
285per_frame_8=decc = if (vol>cbeat,0.8,dec_med);
286per_frame_9=vol = vol * decc + (1-decc)*cbeat;
287per_frame_10=avg = avg*dec_slow + cbeat*(1-dec_slow);
288per_frame_11=is_beat = above(cbeat, 1.5*avg) * above (time, tc0+.2);
289per_frame_12=tc0 = if (bor(is_beat, bd_bt),time,tc0);
290per_frame_13=peak = if (is_beat,cbeat,peak*dec_med);
291per_frame_14=
292per_frame_15=
293per_frame_16=//Gleichanteil entfernen und normalisieren
294per_frame_17=ind = 0; sum = 0; amp = 0.01;
295per_frame_18=loop (reg01,
296per_frame_19= sum = sum + gmegabuf(ind+30000)/(reg01);
297per_frame_20= amp = amp + pow(gmegabuf(ind+30000),2);
298per_frame_21= ind = ind+1;
299per_frame_22=);
300per_frame_23=ind = 0; amp_= amp_*dec_med + (1-dec_med)*sqrt(amp)/reg01*600;
301per_frame_24=loop (reg01,
302per_frame_25= megabuf(ind+30000)= (gmegabuf(ind+30000)-sum)/amp_;
303per_frame_26= ind = ind+1;
304per_frame_27=);
305per_frame_28=
306per_frame_29=// Spectrum of spectrum !
307per_frame_30=index2 = 0;
308per_frame_31=loop(flen, //Frequency step
309per_frame_32= index=0; real= 0; imag = 0;
310per_frame_33= loop (flen,
311per_frame_34= real = real + cos(index/flen*6.28*index2)*megabuf(index*reg01/8+30002);
312per_frame_35= imag = imag + sin(index/flen*6.28*index2)*megabuf(index*reg01/8+30002);
313per_frame_36= index=index+1;
314per_frame_37= );
315per_frame_38= megabuf(10000+index2)= megabuf(10000+index2) * dec_f + real;
316per_frame_39= megabuf(15000+index2)= megabuf(15000+index2) * dec_f + imag;
317per_frame_40= index2 = index2+1;
318per_frame_41= );
319per_frame_42=
320per_frame_43=//Anregung
321per_frame_44=ind = 1;
322per_frame_45=loop (flen/2,
323per_frame_46= cx = megabuf(10000+ind);
324per_frame_47= cy = megabuf(15000+ind);
325per_frame_48= yind = -1;
326per_frame_49= loop (3,
327per_frame_50= xind = -1;
328per_frame_51= loop (3,
329per_frame_52= ox = ((cx+.5)*xlen+xind)%xlen;
330per_frame_53= oy = ((cy+.5)*ylen+yind)%ylen;
331per_frame_54= amp = (cx*cx+cy*cy)*3;
332per_frame_55= megabuf (oy*ylen+ox) = megabuf (oy*ylen+ox)
333per_frame_56= - 2*30/fps*sqrt(amp)*above(amp,.02)/(1+xind*xind+yind*yind);
334per_frame_57= xind = xind+1;
335per_frame_58= );
336per_frame_59= yind = yind+1;
337per_frame_60= );
338per_frame_61= ind = ind+1;
339per_frame_62=);
340per_frame_63=
341per_frame_64=//Simulation
342per_frame_65=yind = 0;
343per_frame_66=loop (ylen,
344per_frame_67= xind = 0;
345per_frame_68= loop (xlen,
346per_frame_69= megabuf(yind*ylen+xind+5000) = //megabuf ab 5000 ist nur Zwischenspeicher
347per_frame_70= dec_med*((gmegabuf(yind*ylen+(xind+1)%xlen) +
348per_frame_71= gmegabuf(yind*ylen+(xlen+xind-1)%xlen) +
349per_frame_72= gmegabuf(((yind+1)%ylen)*ylen+xind) +
350per_frame_73= gmegabuf(((yind+ylen-1)%ylen)*ylen+xind)
351per_frame_74= +gmegabuf(yind*ylen+xind)*smooth*4)/(2+2*smooth) - megabuf(yind*ylen+xind));
352per_frame_75= xind = xind+1;
353per_frame_76= );
354per_frame_77= yind = yind+1;
355per_frame_78=);
356per_frame_79=
357per_frame_80=//Projektionsparameter
358per_frame_81=
359per_frame_82=bindex += is_beat;
360per_frame_83=
361per_frame_84=if (is_beat && (bindex%4==0), ran2 = (rand(100)-50)/50,0 );
362per_frame_85=if (is_beat && (bindex%4==2), ran3 = (rand(100)-50)/50,0 );
363per_frame_86=if (is_beat && (bindex%6==5), ran4 = (rand(100)-50)/50,0 );
364per_frame_87=
365per_frame_88=trelx += ran2/fps/18;
366per_frame_89=trely += ran3/fps/2;
367per_frame_90=trelz += ran4/fps/6;
368per_frame_91=zang = 6*sin(trelz);
369per_frame_92=xang = 6*sin(zang/5+trelx);
370per_frame_93=yang = 6*sin(zang/3*0+trely);
371per_frame_94=
372per_frame_95=q1 = cos(xang);q2 = sin(xang);q3 = cos(yang);
373per_frame_96=q4 = sin(yang);q5 = cos(zang);q6 = sin(zang);
374per_frame_97=fov = 1;
375per_frame_98=
376per_frame_99=//Umkopieren und Projektion
377per_frame_100=yind = 0;
378per_frame_101=loop (ylen,
379per_frame_102= xind = 0;
380per_frame_103= loop (xlen,
381per_frame_104= ind = yind*ylen+xind;
382per_frame_105= megabuf(ind) = gmegabuf(ind);
383per_frame_106= gmegabuf(ind) = megabuf(ind+5000);
384per_frame_107= oz = yind - ylen/2; //#
385per_frame_108= ox = if(bnot(yind%2),xind,xlen-xind-1);
386per_frame_109= oy0a = (oy0+oy0a)/2.5;
387per_frame_110= oy = gmegabuf(yind*ylen+ox); oy0 = oy;
388per_frame_111= ox = ox - xlen/2;
389per_frame_112= mx = ox*q5 - oy*q6; my = ox*q6 + oy*q5;
390per_frame_113= ox = mx; oy = my;
391per_frame_114= mx = ox*q3 + oz*q4; mz = - ox*q4 + oz*q3;
392per_frame_115= ox = mx; oz = mz;
393per_frame_116= my = oy*q1 - oz*q2; mz = oy*q2 + oz*q1;
394per_frame_117= z0 = (10*sin(trelz*14));
395per_frame_118= oy = my; oz = mz+z0;
396per_frame_119= gmegabuf(10000+ind) = fov*ox/(oz+60*fov)+.5;
397per_frame_120= gmegabuf(15000+ind) = fov*oy/(oz+60*fov)+.5;
398per_frame_121= hell= max(min(.5+oy0/4,1),0.2); //Helligkeit
399per_frame_122= gmegabuf(20000+ind) = max(min(hell* (.5+ (oy0a-oy0)*0.1),1),0.1);
400per_frame_123= gmegabuf(25000+ind) = oy0/16+.5;;
401per_frame_124= xind = xind+1;
402per_frame_125= );
403per_frame_126= yind = yind+1;
404per_frame_127=);
405per_frame_128=
406per_frame_129=q29 = 10/(z0+15);
407per_frame_130=q32 = aspecty;
408per_frame_131=q28 = min (vol/3-0.25,1);
409per_frame_132=monitor = q28;
410per_pixel_1=rot = 0; zoom = 1.1; warp = 0; dy = 0.02;
411warp_1=`shader_body
412warp_2=`{
413warp_3=` float1 d = 0.005;
414warp_4=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y;
415warp_5=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y;
416warp_6=` float2 my_uv = uv - float2(dx,dy)*0.01;
417warp_7=`
418warp_8=`
419warp_9=`
420warp_10=` float2 v = 0.01;
421warp_11=` ret.y = tex2D( sampler_fc_main, my_uv-floor(my_uv)).y;
422warp_12=`
423warp_13=`
424warp_14=` ret.y += (ret.y - GetBlur3(my_uv-floor(my_uv)).y)*.1;
425warp_15=` ret.y += 0.006-GetBlur3(uv-floor(uv)).x*5;
426warp_16=`
427warp_17=` ret.y = lerp( ret.y, lum(ret).x, 0);
428warp_18=`
429warp_19=`//--------------------------------
430warp_20=`
431warp_21=` d = 0.01;
432warp_22=` my_uv = float2(-dy,dx)*0.05;
433warp_23=`
434warp_24=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).z;
435warp_25=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).z;
436warp_26=` my_uv += uv - float2(dx,dy)*0.005;
437warp_27=`
438warp_28=`
439warp_29=`
440warp_30=` v = 0.01;
441warp_31=` ret.z =tex2D( sampler_fw_main, my_uv - floor(my_uv)).z;
442warp_32=`
443warp_33=`
444warp_34=` ret.z += (ret.z - GetBlur3(my_uv-floor(my_uv)).z)*0.13;
445warp_35=` ret.z *= 0.95;
446warp_36=` ret.z += 0.03-GetBlur3(uv-floor(uv)).x - tex2D( sampler_main, my_uv - floor(my_uv)).y*0.05;
447warp_37=`
448warp_38=` ret.x = tex2D( sampler_main, uv_orig).x - 0.3;
449warp_39=`}
450comp_1=`#define sat saturate
451comp_2=`static const float2 pix = texsize.zw;
452comp_3=`float glow, tmp, lamp, dist, bdist, b2dist, dist_c;
453comp_4=`float2 dz, uv1, uv3;
454comp_5=`static const float3 CamPos = float3(q4,q5,q6);
455comp_6=`static const float myzoom = q7;
456comp_7=`static const float3x3 RotMat = float3x3(q20,q21,q22,q23,q24,q25,q26,q27,q28);
457comp_8=`static const float3 col_struc = float3(1,.7,.3) + .2*(rand_preset.xyz-.5);
458comp_9=`static float2 center = float2 (q1,q2);
459comp_10=`
460comp_11=`float3 GetBlurX (float2 uvi, float x) {return lerp (GetPixel(uvi), GetBlur1(uvi), x);}
461comp_12=`float GetDist(float2 uvi) {return 1-GetPixel(uvi).b;}
462comp_13=`float GetDistB(float2 uvi) {return 1-GetBlur1(uvi).b;}
463comp_14=`float GetDistB2(float2 uvi) {return 1-GetBlur2(uvi).b;}
464comp_15=`
465comp_16=`float MinDistB (float2 uvi) {float tmp; float4 nb; //##nicht ideal
466comp_17=` tmp = GetDist(uvi);
467comp_18=` tmp = min(tmp,GetDistB2(uvi)*1) ;
468comp_19=` return tmp;}
469comp_20=`
470comp_21=`sampler sampler_pw_noise_lq;
471comp_22=`
472comp_23=`float3 neu, ret1;
473comp_24=`float2 rs2,rs0,rss,uv2;
474comp_25=`float ang2,c,s;
475comp_26=`float2x2 rota = float2x2(.7,.7,-.7,.7);
476comp_27=`shader_body
477comp_28=`{
478comp_29=`float2 uvo = 0.5 + (uv-0.5)*float2(1.1,0.81);
479comp_30=`float2 factorA = uv-float2(1-0.5,0.5);
480comp_31=`
481comp_32=`uv -= 0.5;
482comp_33=`uv *= aspect.xy;
483comp_34=`
484comp_35=`rs0.x = atan2(uv.y, uv.x)/3.1416*2;
485comp_36=`rs0.y = .02/(length (uv));
486comp_37=`rss = float2 (rs0.x,rs0.y+time);
487comp_38=`rss = mul(rss,float2x2(.7,.7,-.7,.7));
488comp_39=`float noise = (tex2D(sampler_pw_noise_lq,rss/32)-.7 >= 0);
489comp_40=`rss = abs(frac(rss*8)-.5);
490comp_41=`float3 dots = saturate(.04/length(rss)) *noise;
491comp_42=`
492comp_43=`rss = float2 (rs0.x*2,rs0.y+time/2);
493comp_44=`rss = mul(rss,float2x2(.7,.7,-.7,.7));
494comp_45=`noise = (tex2D(sampler_pw_noise_lq,rss/32)-.7 >= 0);
495comp_46=`rss = abs(frac(rss*8)-.5);
496comp_47=`dots += saturate(.04/length(rss)) * noise;
497comp_48=`
498comp_49=`dots *= saturate(.04/abs(.01/rs0.y-q6*0))+.0;
499comp_50=`dots *= dots*2;
500comp_51=`
501comp_52=`float3 ret1 = 0;
502comp_53=`int anz = 2;
503comp_54=`int n = 0;
504comp_55=`while (n <= anz) {
505comp_56=` ang2 = 6.28*n/anz;
506comp_57=` c = cos(ang2);
507comp_58=` s = sin(ang2);
508comp_59=` uv2.x = uv.x*c - uv.y*s;
509comp_60=` uv2.y = uv.x*s + uv.y*c;
510comp_61=`
511comp_62=` neu = GetPixel(uv2+.5) + GetBlur1(uv2+.5);
512comp_63=` ret1 = max(ret1,neu);
513comp_64=`n++;
514comp_65=`}
515comp_66=`ret = ret1 + dots*(1+ret1);
516comp_67=`
517comp_68=`float2 factorB = float2(0,-1024+(treb_att-bass_att)*0);
518comp_69=`float2 product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
519comp_70=`float2 numerator = float2(1,0);
520comp_71=`float2 denominator = product;
521comp_72=`float2 fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part
522comp_73=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part
523comp_74=` (denominator.x*denominator.x + denominator.y*denominator.y);
524comp_75=`uv = fraction.yx*float2(-1,1)*100;
525comp_76=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5);
526comp_77=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5)*0.98; // Eo.S. mirror code with cutted borders
527comp_78=`uv = (uv-.5)*.9 + .5;
528comp_79=`
529comp_80=`uv1 = (uv-center)*aspect.xy;
530comp_81=`
531comp_82=`dist = MinDistB(uv);
532comp_83=`bdist = lerp(dist,GetDistB(uv),.2);
533comp_84=`dist_c = clamp(GetDistB2 (center),.1,.4); //center distance
534comp_85=`
535comp_86=`float3 uv2 = mul(float3((uv-.5)*MinDistB(uv),MinDistB(uv))/myzoom,RotMat)+CamPos;
536comp_87=`glow = pow (sat(tex2D (sampler_noise_hq,.02*uv2).r-.6)*2,2);
537comp_88=`//uv += .003*glow*(tex2D (sampler_noise_mq,uv*2+float2(0,time/4).xy-.5));
538comp_89=`
539comp_90=`float focus = sat(abs(GetDistB2(uv)-dist_c)*1+.2);
540comp_91=`float struc = GetBlurX(uv,focus).r;
541comp_92=`
542comp_93=`glow = sat(1-exp(-(GetBlur1(uv).r))-.2);
543comp_94=`q18 = 1;
544comp_95=`ret = pow(struc,1) * (.2+(1-focus) *lerp(dist,1-dist,q18)) * (1+.5*sin(uv2));
545comp_96=`ret = lerp(ret, float3(0,1,glow*3), glow);
546comp_97=`
547comp_98=`//distant light
548comp_99=`//ret += pow(1-GetBlurX(uv,.8).b,3)*(.5+.5*slow_roam_cos) *q19;
549comp_100=`
550comp_101=`//Lamp
551comp_102=`uv3 = uv1;
552comp_103=`lamp = saturate(1-4*length(uv3))*(struc)*saturate(1-2*bdist)*1.8;
553comp_104=`ret += (1-lum(ret))*lamp;
554comp_105=`ret = 1-exp((-2)*ret);
555comp_106=`//ret = GetPixel(uv).r;
556comp_107=`
557comp_108=`// laser
558comp_109=`
559comp_110=`ret = ret + dots*(1+ret);
560comp_111=`}
561comp_112=`
562comp_113=`//-------------------------------------------
563comp_114=`//Written by martin
564comp_115=`